// 消息通知
<template>
    <info-block :editable="false">
        <div slot="title">消息通知</div>
        <div slot="read-box">
            <div class="info-block-line">
                <div class="read-head">系统消息</div>
                <ISwitch class="i-switch" size="large" v-model="me.systemMsg">
                    <span slot="open">通知</span>
                    <span slot="close">禁止</span>
                </ISwitch>
            </div>
            <div class="info-block-line">
                <div class="read-head">私信</div>
                <ISwitch class="i-switch" size="large" v-model="me.privateMsg">
                    <span slot="open">通知</span>
                    <span slot="close">禁止</span>
                </ISwitch>
            </div>
            <div class="info-block-line">
                <div class="read-head">项目组</div>
                <ISwitch class="i-switch" size="large" v-model="me.groupMsg">
                    <span slot="open">通知</span>
                    <span slot="close">禁止</span>
                </ISwitch>
            </div>
            <div style="margin: 20px 0; text-align: center">
                <Button type="primary" v-if="changed" disabled>
                    保存
                </Button>
                <Button type="primary" v-else @click="save">
                    保存
                </Button>
            </div>
        </div>
    </info-block>
</template>

<script lang='ts'>
import { MessageNotify } from "./Index";
export default MessageNotify;
</script>

<style lang='scss' scoped>
</style>